package cn.emall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Author LeeSIUCHI
 * @Date 2020/9/13
 * @Description
 */
@SpringBootApplication
@MapperScan("cn.emall.mapper")
@EnableDiscoveryClient
@EnableSwagger2
@EnableConfigurationProperties(value = cn.emall.config.JwtProperties.class)
public class EmallShippingApplication {
    public static void main(String[] args) {
        SpringApplication.run(EmallShippingApplication.class, args);
    }
}
